exports.install = function (Vue, options) {
	//全局函数，判断是否位手机号码
   Vue.prototype.isPoneAvailable = (mobile) => {
	   let myreg=/^[1][3,4,5,7,8][0-9]{9}$/;
	   if (!myreg.test(mobile)) {
	   	return false;
	   } else {
	   	return true;
	   }
   };
   
	//全局函数，统一提示方便全局修改
	Vue.prototype.msg = (title, duration=1500, mask=false, icon='none')=>{
		if(Boolean(title) === false){
			return;
		}
		uni.showToast({
			title,
			duration,
			mask,
			icon
		});
	}
};